function [acceleration_x, acceleration_y, acceleration_z, sample_time] = acceleration_acquisition(filename)

[acceleration_x, acceleration_y, acceleration_z] = textread(filename, '%d%d%d');
sample_time = zeros(length(acceleration_x), 1);
for i = 1 : length(acceleration_x)
   sample_time(i) = i * 0.01; % sample rate: 100 Hz--0.01ms
   acceleration_x(i) = acceleration_x(i) * 0.244 / 1000;
   acceleration_y(i) = acceleration_y(i) * 0.244 / 1000;
   acceleration_z(i) = acceleration_z(i) * 0.244 / 1000;
end

end